package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

public interface NursingProjectService {
    /**
     * @param name:
     * @param status:
     * @param pageNum:
     * @param pageSize:
     *护理任务分页查询
     */
    PageResponse<NursingProjectVo> queryPage(String name, Integer status, Integer pageNum, Integer pageSize);
    /**
     * @param nursingProjectDto:
     * @return int
     *添加护理任务
     */
    int addNursingProject(NursingProjectDto nursingProjectDto);
    /**
     * @param id:
     * @return NursingProjectVo
     * 根据Id查询护理项目
     */
    NursingProjectVo getNpById(Long id);
    /**
     * @param nursingProjectDto:
     * @return int
     * 根据id修改
     */
    int updateNursingProject(NursingProjectDto nursingProjectDto);
    /**
     * @param id:
     * @return int
     *删除
     */
    int deleteNursingProjectByID(Long id);
    /**
     * @param id:
     * @param status:
     * @description 修改状态
     */
    int updateStauts(Long id, Integer status);
    /**
     * @param :
     * @return List<NursingProjectVo>
     * 查询所有护理项目
     */
    List<NursingProjectVo> getAll();
}
